﻿<frm:Form x:Class="VAdvantage.Apps.WF.WFActivity"
 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:frm="clr-namespace:SilverlightDesktop.Controls;assembly=SilverlightDesktop"
    xmlns:my="clr-namespace:SLControls.Controls;assembly=SLControls"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit"
    xmlns:my1="clr-namespace:VAdvantage.Controls" mc:Ignorable="d" d:DesignHeight="350" d:DesignWidth="450" Loaded="Form_Loaded" FormState="Normal" Title="WorkFlow Activities">
    <Grid>
    <Grid x:Name="LayoutRoot" >
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="*" />
            <ColumnDefinition Width="*" />
            <ColumnDefinition Width="*" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="25" />
        </Grid.RowDefinitions>
        <my:VLabel Height="Auto" HorizontalAlignment="Stretch" Name="vlblNode" VerticalAlignment="Stretch" Width="Auto" Content="Node" HorizontalContentAlignment="Left" Margin="5,5,5,0" />
        <my:VLabel Content="Description" Height="Auto" HorizontalContentAlignment="Left" Name="vlblDesc" VerticalAlignment="Stretch" Width="Auto" Grid.Row="1" VerticalContentAlignment="Center" Margin="5,5,5,0" />
        <my:VLabel Content="Comment" Grid.RowSpan="1" Height="30" HorizontalContentAlignment="Left" Margin="5,5,5,2" Name="vlblHelp" VerticalAlignment="Stretch" VerticalContentAlignment="Center" Width="Auto" Grid.Row="2" />
        <my:VLabel Content="History Records" Height="Auto" HorizontalContentAlignment="Left" Margin="5,5,5,0" Name="vlblHistory" VerticalAlignment="Stretch" VerticalContentAlignment="Center" Width="Auto" Grid.Row="3" />
        <my:VLabel Content="Answer" Grid.RowSpan="1" Height="Auto" HorizontalContentAlignment="Left" Margin="5,5,5,0" Name="vlblAnswer" VerticalAlignment="Stretch" VerticalContentAlignment="Center" Width="Auto" Grid.Row="4" />
        <my:VLabel Grid.Row="5" Height="Auto" Margin="5,5,5,0" Name="vlblTextlMsg" VerticalAlignment="Stretch" Width="Auto" Content="Message" HorizontalContentAlignment="Left" />
        <my:VLabel Content="Forward" Grid.ColumnSpan="1" Grid.RowSpan="1" Height="Auto" HorizontalAlignment="Stretch" HorizontalContentAlignment="Left" Margin="5,5,5,5" Name="vlblForward" VerticalAlignment="Stretch" Width="Auto" Grid.Row="6" />
        <my:VTextBox Grid.Column="1" Grid.ColumnSpan="2" Height="Auto" HorizontalAlignment="Stretch" Margin="0,5,0,0" Name="vtxtNode" VerticalAlignment="Center" Width="Auto" TextChanged="vtxtNode_TextChanged" IsEnabled="False" />
        <my:VTextBox Grid.Column="1" Grid.Row="1" Height="Auto" HorizontalAlignment="Stretch" Margin="0,5,0,0" Name="vtxtDescription" VerticalAlignment="Center" Width="Auto" Grid.ColumnSpan="2" IsEnabled="False" TextChanged="vtxtDescription_TextChanged" />
        <my:VTextBox Grid.Column="1" Grid.Row="2" Height="Auto" HorizontalAlignment="Stretch" Margin="0,8,5,3" Name="vtxtHelp" VerticalAlignment="Stretch" Grid.ColumnSpan="3" Padding="0" TextChanged="vtxtHelp_TextChanged" IsEnabled="False" VerticalContentAlignment="Stretch" />
        
        <my:VTextBox Grid.Column="1" Grid.ColumnSpan="3" Grid.Row="5" Height="Auto" HorizontalAlignment="Stretch" Margin="0,5,5,0" Name="vtxtTextMsg" VerticalAlignment="Center" Width="Auto" />
        <my:VLabel Grid.Column="2" Grid.Row="6" Height="Auto" HorizontalAlignment="Left" Margin="5,5,0,5" Name="vlblOptional" VerticalAlignment="Stretch" Width="Auto" Content="Optional" />
        <my:VImage Icon="/VAdvantage;component/Images/right_up.png" Grid.Column="3" Grid.Row="6" Height="35" HorizontalAlignment="Right" Margin="0,5,5,5" Name="ibtnOk" VerticalAlignment="Top" Width="35" Click="ibtnOk_Click" />
        <my:VImage Icon="/VAdvantage;component/Images/Zoom32.png" Grid.Column="3" Grid.Row="4" Height="30" HorizontalAlignment="Right" Margin="0,5,5,0" Name="ibtnZoom" VerticalAlignment="Top" Width="35" Click="ibtnZoom_Click" />
        <my:VImage Icon="/VAdvantage;component/Images/Next32.png" Grid.Column="3" Grid.Row="1" Height="30" HorizontalAlignment="Right" Margin="0,5,5,0" Name="ibtnNext" VerticalAlignment="Stretch" Width="35" Click="ibtnNext_Click" />
        <my:VImage Icon="/VAdvantage;component/Images/Previous32.png" Grid.Column="3" Height="30" HorizontalAlignment="Right" Margin="0,5,5,0" Name="ibtnPre" VerticalAlignment="Top" Width="35" Click="ibtnPre_Click" />
        <toolkit:WrapPanel Grid.Column="1" Grid.Row="4" Grid.RowSpan="1" Height="Auto" HorizontalAlignment="Stretch" Margin="0,0,5,0" Name="wrapPanel1" VerticalAlignment="Bottom" Width="Auto">
            <my:VTextBox Height="Auto" Name="vtxtAnswer" Width="Auto" VerticalAlignment="Stretch" VerticalContentAlignment="Center" Margin="0,5,0,5" />
            <my:VComboBox Height="Auto" Name="vcmbAnswer" Width="Auto" Margin="0,5,0,5" />
            <my:VButton Content="Button" Height="Auto" Name="vbtnAnswer" Width="Auto" Margin="0,5,0,5" Click="vbtnAnswer_Click" VerticalAlignment="Stretch" UseLayoutRounding="False" VerticalContentAlignment="Stretch" />
        </toolkit:WrapPanel>
        <my1:VStatusBar Grid.Row="7" HorizontalAlignment="Stretch" Margin="0,0,0,0" x:Name="lblStatusMsg" VerticalAlignment="Stretch" Grid.ColumnSpan="4" Width="Auto" />
        <Border BorderThickness="0.8" BorderBrush="DarkGray" Grid.Column="1" Grid.Row="3" Grid.ColumnSpan="3" Margin="0,8,5,0">
        <my1:VHtmlTextBlock Grid.Column="1" Grid.Row="3" HorizontalAlignment="Stretch" Margin="0,0,0,0" x:Name="wbHistory" VerticalAlignment="Stretch" Grid.ColumnSpan="3" />
        </Border>
    </Grid>
    <Grid x:Name="busyWindow" Opacity=".4" Background="LightGray" Visibility="Collapsed" MouseLeftButtonDown="busyWindow_MouseLeftButtonDown" ></Grid>
    <TextBlock x:Name="txtBusy" FontSize="20" FontStyle="Italic" Visibility="Collapsed" HorizontalAlignment="Center" Text="Loading...." VerticalAlignment="Center" Foreground="#3A000000"></TextBlock>
    </Grid>
</frm:Form>